package com.econ.powercloud.ems.dal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

/**
 * <p>
 * ems诊断预警
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-12-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EmsWarnStatistical extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备编号
     */
    private String deviceCode;

    /**
     * 累计预警次数
     */
    private Integer warnTotalNum;

    /**
     * 设备预警点号总个数
     */
    private Integer warnTotalPidNum;

    /**
     * 当日预警点号数量
     */
    private Integer warnTodayPidNum;

    /**
     * 当日预警次数
     */
    private Integer warnTodayNum;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private Long gmtCreate;

    /**
     * 修改时间
     */
    private Long gmtModify;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;

}
